package http

import (
	"gitee.com/liukexing/mqbroker/core/server/pubsub"
	"gitee.com/liukexing/mqbroker/core/typedef"
	"sync"
)
var (
	ComputeConfig sync.Map
)

func NewComputeHandle() *pubsub.ComputeServerHandle {
	return &pubsub.ComputeServerHandle{
		Config: &ComputeConfig,
		Request: map[string]typedef.CommonMsgConfig{
			//"Update": typedef.CommonMsgConfig{
			//	Handle: UpdateCpt,
			//	Sub:    typedef.CommonMsgCheck{Receiver: Config.Info.ID},
			//},
		},
	}
}